package com.chushouya.manager.service.api;


import com.chushouya.manager.dao.entity.ClerkEntity;
import com.chushouya.manager.dto.admin.clerk.ClerkInfoDTO;
import com.chushouya.manager.dto.admin.signin.ClerkSignInDTO;

import java.util.List;

public interface ClerkApiService {

    Long signIn(ClerkSignInDTO signIn);

    ClerkInfoDTO getClerkInfo(Long clerkId);

    ClerkInfoDTO saveWxNickNameAndAvatar(Long clerkId, String nickName, String avatar);

    void editWorkStatus(Long clerkId, Integer workStatus);

    String getLiteOpenId(String code);

    void doPhoneLoginHandler(String phone);

    List<ClerkEntity> getAllClerkList();
}
